//
//  LLTEditVideoCell.swift
//  mmda
//
//  Created by 李陆涛 on 2018/8/15.
//  Copyright © 2018年 mmda. All rights reserved.
//

import UIKit

class LLTEditVideoCell: UICollectionViewCell {

    
    var imageView:UIImageView!
    
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        setupUI()
    }
    
    private func setupUI () {
        
        imageView = UIImageView(frame: self.bounds)
        imageView.contentMode = .scaleAspectFill
        imageView.clipsToBounds = true
        
        self.contentView.addSubview(imageView)
        
        imageView.snp.makeConstraints { maker in
            
            maker.edges.equalTo(self.contentView)
        }
    }

}
